/**
 * 用于设置参数默认值的公用程序。
 * Utilities helpful for setting a default value for a parameter.
 *
 * @namespace Frozen
 */
export class Frozen {
  /**
   * A frozen empty object that can be used as the default value for options passed as
   * an object literal.
   * @type {object}
   * @memberof Frozen
   */
  public static readonly EMPTY_OBJECT = Object.freeze({})

  /**
   * A frozen empty array that can be used as the default value for options passed as
   * an array literal.
   * @type {array}
   * @memberof Frozen
   */
  public static readonly EMPTY_ARRAY = Object.freeze([])
}
